package com.vueblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 沸点表
 * @TableName t_pins
 */
@TableName(value ="t_pins")
@Data
public class Pins implements Serializable {
    /**
     * 沸点ID
     */
    @TableId(type = IdType.AUTO)
    private Integer pinsId;

    /**
     * 用户手机号
     */
    @TableId
    private String userPhone;

    /**
     * 沸点创建时间
     */
    private Date pinsCreateTime;

    /**
     * 圈子ID
     */
    private String circleId;

    /**
     * 沸点状态[0.草稿；1.已发布]
     */
    private Integer pinsState;

    /**
     * 点赞数
     */
    private String pinsLikes;

    /**
     * 评论数量
     */
    private String pinsComments;

    /**
     * 沸点内容
     */
    private byte[] pinsContent;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}